﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Sispe.Repository;
using Microsoft.Practices.Unity;

namespace Sispe.BussinesLogic
{
    public class FotocheckBL: IFotocheckBL
    {
        [Dependency]
        public IFotocheckRepository  fotocheckRepository { get; set; }

        public List<Entities.FOTOCHECK> GetAllFromFotocheck()
        {
            return fotocheckRepository.GetAllFromFotocheck();
        }

        public List<Entities.FOTOCHECK> GetAllFromFotocheckByPersona(int dni)
        {
            return fotocheckRepository.GetAllFromFotocheckByPersona(dni);
        }
    }
}
